﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Edit.ascx.vb" Inherits="Control_StatusActionRule_Edit" %>
<script type="text/javascript">
    function ajaxJquery() {
        $(function () {
            $(".TextBox:first").focus();
        });
    }
</script>
<asp:UpdatePanel ID="uplStatusactionrule" runat="server">
    <ContentTemplate>
        <div class="content_porletform">
            <div class="HeadTitle">
                <h3>
                    <asp:Label ID="Label3" runat="server" Text="CẬP NHẬT QUY TRÌNH" /></h3>
            </div>
            <div class="DivRequired">
                <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
            </div>
            <div class="Error">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="#FF3300" />
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="lblFunctionid" CssClass="TextLabel" runat="server" Text="Chức năng:" /><span
                        class="fieldRequired">&nbsp;</span>
                </div>
                <div class="DivTextBox">
                    <asp:DropDownList ID="ddlFunction" Enabled="false" runat="server" CssClass="TextBox" AutoPostBack="True">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddlFunction"
                        Display="None" ErrorMessage="Vui lòng chọn Chức năng" InitialValue="0"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="Label1" CssClass="TextLabel" runat="server" Text="Trạng thái:" /><span
                        class="fieldRequired">&nbsp;</span>
                </div>
                <div class="DivTextBox">
                    <asp:DropDownList ID="ddlStatus" runat="server" CssClass="TextBox">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlStatus"
                        Display="None" ErrorMessage="Vui lòng chọn Trạng thái" InitialValue="0"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="lblActionid" CssClass="TextLabel" runat="server" Text="Thao tác:" /><span
                        class="fieldRequired">&nbsp;</span>
                </div>
                <div class="DivTextBox">
                    <asp:DropDownList ID="ddlAction" runat="server" CssClass="TextBox">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ddlAction"
                        Display="None" ErrorMessage="Vui lòng chọn Thao tác" InitialValue="0"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    <asp:Label ID="lblNextstatusid" CssClass="TextLabel" runat="server" Text="Trạng thái tiếp theo:" /><span
                        class="fieldRequired">&nbsp;</span>
                </div>
                <div class="DivTextBox">
                    <asp:DropDownList ID="ddlNextStatus" runat="server" CssClass="TextBox">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="ddlNextStatus"
                        Display="None" ErrorMessage="Vui lòng chọn Trạng thái tiếp theo" InitialValue="0"></asp:RequiredFieldValidator>
                    
                </div>
            </div>
            <div class="DivRow">
                <div class="DivLabel">
                    &nbsp;&nbsp;&nbsp;</div>
                <div class="DivTextBox">
                    <div style="float: left">
                        <asp:Button ID="btnSave" runat="server" Text=" Lưu " CssClass="btn" />
                        &nbsp;<asp:Button ID="btnReset" runat="server" CausesValidation="false" CssClass="btn"
                            Text="Hủy" /></div>
                    <div style="float: right; text-align: right">
                    </div>
                </div>
            </div>
               <div style=" clear:both; height:5px">
        </div>
            <div style="display: none">
                <asp:HiddenField ID="hidID" Value="0" runat="server" />
            </div>
            </div>
    </ContentTemplate>
</asp:UpdatePanel>
